package cn.gxufe.reliable.message.consumer.service;

import cn.gxufe.reliable.message.api.consumer.MqMessageService;
import cn.gxufe.reliable.message.common.Message;
import org.springframework.stereotype.Service;

/**
 * @author yingjie.rong
 **/
@Service
public class HandleMessageServiceImpl implements MqMessageService {
    @Override
    public Message handle(Message message) {
        message.setStatus(Message.STATUS_FINISH);
        message.setData("{HandleMessageServiceImpl}");
        return message;
    }
}
